home *** CD-ROM | disk | FTP | other *** search
/ Apple Reference & Presen…rary 7 (Internal Edition) / Apple R&P Lib Internal v7.0.iso / 5-Fonts & Software / Demo Software / Aldus PageMaker 4.0 Demo / Aldus / APDs / Varityper 4300P.apd < prev    next >
Text File  |  1990-05-16  |  13KB  |  294 lines

  1. @Comment: "Varityper 4300P.apd"
  2. @Comment: Aldus Printer Description (APD) file
  3. @Comment:     $Revision:…1.2…$
  4. @Comment:     $Date:…18 December 1988: 10:30:00
  5. @Comment: This APD produced for use with Aldus PageMaker 4.0 or earlier version.
  6. @Comment: Keyword values are currently limited to 255 characters in length.
  7.  
  8. @FormatVersion: "1.0"
  9. @Product: "(Varityper)"
  10. @PSVersion: "(49.3)"
  11. @PSRevision: "1.0"
  12. @FileSystem: "true"
  13. @VariablePaperSize: "true"
  14.  
  15. @Comment: Possible resolutions are:
  16. @Comment: 1200, 2400   
  17. @DefaultResolution: "2400 2400"
  18. @Resolution: "2400 2400"
  19.  
  20. @AllowComments: "true"
  21. @AllowVMQuery: "true"
  22.  
  23. @Comment: PatchFile is sent right after %%EndComments, AldusPatchFile right before %%EndSetup.
  24. @PatchFile: "userdict /AldusDict known {(A previous version PageMaker header is loaded.) = flush} if"
  25. @AldusPatchFile: ""
  26. @ExitServer: "serverdict begin exitserver "
  27. @Password: "0"
  28.  
  29. @Comment: ----------------------------------------------------------------
  30. @Comment: General printing, on- and off-line.
  31. @Comment: ----------------------------------------------------------------
  32.  
  33. @Comment: PM tries to keep this much VM free.
  34. @WorkingMem: "45000"
  35.  
  36. @Comment: Declaration of downloadable fonts' memory requirement assists in efficient
  37. @Comment:     VM usage.  Size is VM that font takes after downloading.  Example:
  38. @Comment:    @FontMem "Benjo-Light": "82600"
  39.  
  40. @Comment: ----------------------------------------------------------------
  41. @Comment: Off-line printing only.
  42. @Comment: ----------------------------------------------------------------
  43.  
  44. @Comment: Varityper 4300 has about 3 Mb FreeVM.  However, PM’s font download
  45. @Comment:    routines, if given this much FreeVM, will exceed save limit.  350K is safe.
  46. @Comment: When on-line, "FreeVM" equals vmstatus "maximum" minus "used."
  47. @Comment: When off-line, Free VM calculated during print file creation.  Value below is baseline.
  48. @FreeVM: "2525000"
  49.  
  50. @AldusHeaderMem: "34000"
  51.  
  52. @Comment: ----------------------------------------------------------------
  53. @Comment: On-line printing only.
  54. @Comment: ----------------------------------------------------------------
  55.  
  56. @Comment: Assumes a file system.
  57. @?FontList: "save /SC 100 string def FontDirectory{pop = flush}forall
  58. (fonts/*){dup length 6 sub 6 exch getinterval = flush}SC filenameforall(*)= flush restore"
  59. @End
  60.  
  61. @Comment: If 11 or more saves, VM query makes memory look full, PM will flush fonts.
  62. @?VMStatus: "vmstatus 3 -1 roll dup 10 gt
  63. {3 1 roll exch pop dup} {3 1 roll} ifelse == == == flush"
  64. @End
  65.  
  66. @Comment: ----------------------------------------------------------------
  67. @Comment: Imaging.
  68. @Comment: ----------------------------------------------------------------
  69.  
  70. @DefaultScreenFreq: "100"
  71. @DefaultScreenAngle: "45"
  72. @DefaultScreenProc: "{abs exch abs 2 copy add 1 gt 
  73. {1 sub dup mul exch 1 sub dup mul add 1 sub} {dup mul exch dup mul add 1 exch sub}ifelse}"
  74. @End
  75.  
  76. @ScreenFreq: ""
  77. @ScreenAngle: ""
  78. @ScreenProc: ""
  79.  
  80. @InvertScreenProc: "{abs exch abs 2 copy add 1 gt {1 sub dup mul exch 1 sub dup mul 
  81. add 1 exch sub}{dup mul exch dup mul add 1 sub} ifelse}"
  82. @End
  83.  
  84. @Transfer: ""
  85. @InvertTransfer: "{1 exch sub}"
  86.  
  87. @Comment: 1.0 is white, .0 black.  Adjust intermediate values ONLY to tweak gray levels.
  88. @Comment: First two numbers should remain 1.0 each!
  89. @Comment: For output that will be shot with a camera for printing, this may give proper 
  90. @Comment:    optical grays on final printed stock:
  91. @Comment:    1.0 1.0 .94 .86 .8 .75 .68 .6 .55 .5 .45 .0
  92. @NormalizedTransfer: "{
  93. mark
  94. 1.0 1.0 .92 .76 .64 .54 .44 .36 .28 .2 .1 .0
  95. counttomark dup 3 add -1 roll exch
  96. 2 sub mul dup floor cvi
  97. dup 3 1 roll sub
  98. exch dup 
  99. 3 add index exch 2 add index dup
  100. 4 1 roll
  101. sub mul add
  102. counttomark 1 add 1 roll 
  103. cleartomark
  104. } bind"
  105. @End
  106.  
  107. @InvertNormalizedTransfer: "{
  108. mark
  109. .0 .0 .1 .2 .28 .36 .44 .54 .64 .76 .92 1.0
  110. counttomark dup 3 add -1 roll exch
  111. 2 sub mul dup floor cvi
  112. dup 3 1 roll sub
  113. exch dup 
  114. 3 add index exch 2 add index dup
  115. 4 1 roll
  116. sub mul add
  117. counttomark 1 add 1 roll 
  118. cleartomark
  119. } bind"
  120. @End
  121.  
  122. @Comment: ----------------------------------------------------------------
  123. @Comment: Page and paper.
  124. @Comment: ----------------------------------------------------------------
  125.  
  126. @Comment: PageSize options appear in the "Paper" list box in the Printer-specific dialog.
  127. @Comment: Use of "setpage" preserves margin setting.  Users may wish to replace with
  128. @Comment:    "setpageparams" or add margin commands if different width films are used.
  129. @Comment: 'Extra' adds half inch all around, makes room for crop & registration marks.
  130. @Comment: Routine to construct Extra from installed size (which are in userdict):
  131. @Comment:     "statusdict begin         %construct Extra, preserves margin
  132. @Comment:      <<pagesize>> pageparams 4 -2 roll 72 add exch 72 add exch
  133. @Comment:      4 2 roll setpageparams end"
  134. @Comment:     @End
  135. @Comment: Routine to construct Transverse from installed size:
  136. @Comment:    "statusdict begin          %construct Transverse, preserves margin
  137. @Comment:     <<pagesize>> pageparams 4 -2 roll exch
  138. @Comment:      4 2 roll pop 0 setpageparams end"
  139. @Comment:     @End
  140. @Comment: Routine to construct Transverse Extra from installed size:
  141. @Comment:    "statusdict begin         %construct Transverse Extra, preserves margin
  142. @Comment:     <<pagesize>> pageparams 4 -2 roll 72 add exch 72 add
  143. @Comment:     4 2 roll pop 0 setpageparams end"
  144. @Comment:     @End
  145.  
  146. @DefaultPageSize:            "Letter"
  147. @PageSize Letter:            "letter"
  148. @PageSize LetterExtra:        "statusdict begin 684 864 0 1 setpageparams end"
  149. @PageSize A4:                "statusdict begin 596 842 0 1 setpageparams end"
  150. @PageSize A4Extra:            "statusdict begin 668 914 0 1 setpageparams end"
  151. @PageSize Legal:            "legal"
  152. @PageSize LegalExtra:        "statusdict begin 684 1080 0 1 setpageparams end"
  153. @PageSize A3:                "statusdict begin 842 1191 0 1 setpageparams end"
  154. @PageSize Tabloid:            "statusdict begin 792 1224 0 1 setpageparams end"
  155. @PageSize TabloidExtra:        "statusdict begin 842 1296 0 1 setpageparams end"
  156. @PageSize LetterTransverse:    "statusdict begin 792 612  0 0 setpageparams end"
  157. @PageSize A4Transverse:        "statusdict begin 842 596  0 0 setpageparams end"
  158.  
  159. @Comment: PageRegion gives the printable area of each paper option.
  160. @PageRegion Letter:             "0 0 612 792"
  161. @PageRegion LetterExtra:         "0 0 684 864"
  162. @PageRegion A4:                 "0 0 595.28 841.89"
  163. @PageRegion A4Extra:             "0 0 667.28 913.89"
  164. @PageRegion Legal:                 "0 0 612 1008"
  165. @PageRegion LegalExtra:         "0 0 684 1080"
  166. @PageRegion A3:                    "0 0 841.89 1190.55"
  167. @PageRegion Tabloid:            "0 0 792 1224"
  168. @PageRegion TabloidExtra:         "0 0 842 1296"
  169. @PageRegion LetterTransverse:    "0 0 612 792"
  170. @PageRegion A4Transverse:         "0 0 595.28 841.89"
  171.  
  172. @Comment: PaperDimension gives the total paper size of each option.
  173. @PaperDimension Letter:         "612 792"
  174. @PaperDimension LetterExtra:     "684 864"
  175. @PaperDimension A4:             "595.28 841.89"
  176. @PaperDimension A4Extra:         "667.28 913.89"
  177. @PaperDimension Legal:             "612 1008"
  178. @PaperDimension LegalExtra:     "684 1080"
  179. @PaperDimension A3:                "841.89 1190.55"
  180. @PaperDimension Tabloid:        "792 1224"
  181. @PaperDimension TabloidExtra:     "842 1296"
  182. @PaperDimension LetterTransverse: "612 792"
  183. @PaperDimension A4Transverse:    "595.28 841.89"
  184.  
  185. @DefaultOutputOrder: "facedown"
  186.  
  187. @ManualFeed: "none"
  188.  
  189. @Comment: ----------------------------------------------------------------
  190. @Comment: Standard font list
  191. @Comment: ----------------------------------------------------------------
  192. @DefaultFont: "Courier"
  193. @Font "Times-Roman": "Standard" "(001.000)"
  194. @Font "Times-Bold": "Standard" "(001.000)"
  195. @Font "Times-Italic": "Standard" "(001.000)"
  196. @Font "Times-BoldItalic": "Standard" "(001.000)"
  197. @Font "Helvetica": "Standard" "(001.000)"
  198. @Font "Helvetica-Bold": "Standard" "(001.000)"
  199. @Font "Helvetica-Oblique": "Standard" "(001.000)"
  200. @Font "Helvetica-BoldOblique": "Standard" "(001.000)"
  201. @Font "Courier": "Standard" "(001.000)"
  202. @Font "Courier-Bold": "Standard" "(001.000)"
  203. @Font "Courier-Oblique": "Standard" "(001.000)"
  204. @Font "Courier-BoldOblique": "Standard" "(001.000)"
  205. @Font "Symbol": "Standard" "(001.000)"
  206. @Font "Palatino-Roman": "Standard" "(001.000)"
  207. @Font "Palatino-Italic": "Standard" "(001.000)"
  208. @Font "Palatino-Bold": "Standard" "(001.000)"
  209. @Font "Palatino-BoldItalic": "Standard" "(001.000)"
  210. @Font "AvantGarde-Book": "Standard" "(001.000)"
  211. @Font "AvantGarde-BookOblique": "Standard" "(001.000)"
  212. @Font "AvantGarde-Demi": "Standard" "(001.000)"
  213. @Font "AvantGarde-DemiOblique": "Standard" "(001.000)"
  214. @Font "Bookman-Light": "Standard" "(001.000)"
  215. @Font "Bookman-LightItalic": "Standard" "(001.000)"
  216. @Font "Bookman-Demi": "Standard" "(001.000)"
  217. @Font "Bookman-DemiItalic": "Standard" "(001.000)"
  218. @Font "Helvetica-Narrow": "Standard" "(001.000)"
  219. @Font "Helvetica-Narrow-Oblique": "Standard" "(001.000)"
  220. @Font "Helvetica-Narrow-Bold": "Standard" "(001.000)"
  221. @Font "Helvetica-Narrow-BoldOblique": "Standard" "(001.000)"
  222. @Font "NewCenturySchlbk-Roman": "Standard" "(001.000)"
  223. @Font "NewCenturySchlbk-Italic": "Standard" "(001.000)"
  224. @Font "NewCenturySchlbk-Bold": "Standard" "(001.000)"
  225. @Font "NewCenturySchlbk-BoldItalic": "Standard" "(001.000)"
  226. @Font "ZapfChancery-MediumItalic": "Standard" "(001.000)"
  227. @Font "ZapfDingbats": "Standard" "(001.000)"
  228.  
  229. @Comment: ----------------------------------------------------------------
  230. @Comment: Messages.
  231. @Comment: ----------------------------------------------------------------
  232. @Comment: PrinterWarning beeps and displays the translation string in the status line.
  233. @Comment: PrinterWarningAlert displays translation string in a warning-alert box and continues.
  234. @Comment: PrinterErrorAlert displays translation string in a stop-alert box and aborts printing.
  235. @Comment: PrinterMessage displays the translation string in the status line.
  236. @Comment: The order of occurrence determines the order of parsing; put general messages last.
  237. @Comment: A null translation string causes no message to display.
  238. @Comment: Parameter substitution of printer name for "^2" is not allowed in "...Alert" messages!
  239.  
  240. @PrinterWarning    "%%[ PrinterError: recorder not responding \Code\]%%"
  241.                 : "Printer “^2” needs attention: recorder is offline \Code\."
  242. @PrinterWarning    "%%[ PrinterError: \Reason\ ]%%"
  243.                 : "Printer “^2” needs attention: \Reason\."
  244.  
  245. @PrinterWarning        "\s\status: PrinterError: recorder not responding\code\; source: \source\"
  246.                 : "Printer “^2” needs attention: recorder not responding \code\."
  247. @PrinterWarning        "\s\status: PrinterError: \Reason\; source: \source\"
  248.                 : "Printer “^2” needs attention: \Reason\."
  249.  
  250. @Comment: @ParameterReason lines may be added.
  251.  
  252. @PrinterMessage     "job: \username\; document: \jobname\; status: \Status\; source: \source\"
  253.                 : "User: \username\;  document: \jobname\;  status: \Status\."
  254. @PrinterMessage     "job: \jobname\; status: \Status\; source: \source\"
  255.                 : "Document: \jobname\;  status: \Status\."
  256. @PrinterMessage     "status: \Status\; source: \source\"
  257.                 : "Status: \Status\."
  258. @PrinterMessage     "\Font1\ not found, using \Font2\"
  259.                 : "Font \Font1\ is not found on ^2, substituting \Font2\"
  260.  
  261. @ParameterStatus     "idle"    : "idle"
  262. @ParameterStatus     "busy"    : "processing job"
  263. @ParameterStatus     "waiting"    : "preparing data"
  264. @ParameterStatus    "printing"    : "printing"
  265.  
  266. @PrinterMessage    "%%[ exitserver: permanent state may be changed ]%%"
  267.                 : ""
  268. @PrinterMessage    "%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%"
  269.                 : ""
  270.  
  271. @PrinterWarningAlert "A previous version PageMaker header is loaded."
  272.     : "Printer performance may improve if you do not print with PageMaker version 1.2 on this net."
  273.  
  274. @Comment: "uncaught exception 7"
  275. @PrinterErrorAlert    "%%[\s\ncaught\s\]%%"
  276.                 : "The disk in your typesetter may need reinitializing - call your dealer."
  277. @PrinterErrorAlert    "%%[ Error: ioerror; OffendingCommand: filenameforall ]%%"
  278.                 : "The disk in your typesetter may need reinitializing - call your dealer."
  279. @PrinterErrorAlert    "%%[ Error: \fonterror\; OffendingCommand: fontdownload ]%%"
  280.                 : "The font being downloaded has not been initialized for this printer."
  281. @PrinterErrorAlert    "%%[ Error: VMerror; OffendingCommand: \operator\ ]%%"
  282.                 : "Printer memory exceeded; turn printer off and on, or print smaller sections of the document."
  283. @PrinterErrorAlert    "%%[ Error: timeout; OffendingCommand: \operator\ ]%%"
  284.                 : "The printer had to wait too long, and went on to the next job; try again."
  285. @PrinterErrorAlert    "%%[ Error: \error\check; OffendingCommand: setpage\s\ ]%%"
  286.                 : "This page size is too large; switch to a lower resolution or use a smaller size."
  287. @PrinterErrorAlert    "%%[ Error: \error\; OffendingCommand: \operator\ ]%%"
  288.                 : "Cannot print due to PostScript error: “\error\,” in command: “\operator\.”"
  289. @PrinterErrorAlert    "Fatal system error \error\"
  290.                 : "The printer has encountered an error. Simplify your document or try again."
  291.  
  292.  
  293.  
  294.